#ifndef _MH_DEF_H
#define _MH_DEF_H

#define MH_FILE_OK                0
#define MH_FILE_ERROR_OPEN        -1
#define MH_FILE_ERROR_READ        -2
#define MH_FILE_ERROR_CREATE      -3
#define MH_FILE_ERROR_WRITE       -4
#define MH_FILE_ERROR_HEADER      -5
#define MH_FILE_ERROR_DATA        -6
#define MH_FILE_ERROR_FORMAT      -7
#define MH_FILE_ERROR_CHECK       -8
#define MH_FILE_ERROR_MEM         -9
#define MH_FILE_ERROR_SEEK        -10
#define MH_FILE_ERROR_DIARY     -11

#endif
